package com.carsystem.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.carsystem.entity.Permission;
import com.carsystem.mapper.PermissionMapper;
import com.carsystem.service.IPermissionService;
import org.apache.dubbo.config.annotation.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements IPermissionService {
    @Resource
    private PermissionMapper permissionMapper;


    @Override
    public List<Permission> selectByUid(int id) {

        return permissionMapper.selectByUid(id);
    }
}
